package com.example.roadeyeserver.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.roadeyeserver.entity.AMjHxl;
import com.example.roadeyeserver.mapper.AMjHxlMapper;
import com.example.roadeyeserver.result.Result;
import com.example.roadeyeserver.service.AMjHxlService;
import com.example.roadeyeserver.util.ResultUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
@Slf4j
public class AMjHxlServiceImpl extends ServiceImpl<AMjHxlMapper, AMjHxl> implements AMjHxlService {
    @Override
    public Result<List<AMjHxl>> getAll() {
        return ResultUtil.success(this.list());
    }
}
